﻿package bipede.data 
{
	import flash.geom.Point;
	import fab.geom.DoublePoint;
	
	public class Allures 
	{

		// DoublePoint( talon, orteil )
/*
		walkcycle.push( new DoublePoint( new Point(-50, 90), new Point(-18, 90) ) );
		walkcycle.push( new DoublePoint( new Point(-40, 80), new Point( 9 , 90) ) );
		walkcycle.push( new DoublePoint( new Point(-13, 70), new Point( 11, 90) ) );
		walkcycle.push( new DoublePoint( new Point(- 5, 50), new Point( 33, 80) ) );
		walkcycle.push( new DoublePoint( new Point( 16, 45), new Point( 55, 74) ) );
		walkcycle.push( new DoublePoint( new Point( 22, 50), new Point( 77, 60) ) );
		walkcycle.push( new DoublePoint( new Point( 59, 62), new Point( 106, 30) ) );
		walkcycle.push( new DoublePoint( new Point( 95, 80), new Point( 137, 35) ) );
		walkcycle.push( new DoublePoint( new Point( 93, 88), new Point( 150, 65) ) );
		walkcycle.push( new DoublePoint( new Point( 95, 90), new Point( 155, 90) ) );		
*/
		
		// TODO remplacer par 2 BEZIERs !!!
		 
		static public var walkcycle:Vector.<DoublePoint> = new Vector.<DoublePoint>();
		walkcycle.push( new DoublePoint( new Point(-40, 90), new Point(-4, 90) ) );
		walkcycle.push( new DoublePoint( new Point(-23, 78), new Point(11, 84) ) );
		walkcycle.push( new DoublePoint( new Point(-8, 68), new Point(24, 77) ) );
		walkcycle.push( new DoublePoint( new Point(13, 66), new Point(42.5, 77) ) );
		walkcycle.push( new DoublePoint( new Point(31.5, 59), new Point(65.5, 63) ) );
		walkcycle.push( new DoublePoint( new Point(44, 65), new Point(79.5, 54) ) );
		walkcycle.push( new DoublePoint( new Point(60, 63), new Point(83, 44) ) );
		walkcycle.push( new DoublePoint( new Point(68, 75), new Point(97, 57) ) );
		walkcycle.push( new DoublePoint( new Point(81, 81), new Point(115, 67) ) );
		walkcycle.push( new DoublePoint( new Point(88, 90), new Point(124, 90) ) );// distance support = 90 !!
		//walkcycle.push( new DoublePoint( new Point(88, 130), new Point(124, 130) ) );// ajout pour descendre un esacalier ?
	}
}